package com.zy.datareceiver.binsess.monitoring.param.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zy.datareceiver.binsess.monitoring.param.index.*;

import java.util.HashMap;
import java.util.List;


@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class BaseIndexDTO {
    // <deviceId,<pointName,DetectionData>>
    private HashMap<Integer,HashMap<String,DetectionData>> detectionData;
    private EquipmentTypesDistribution equipmentTypesDistribution;//设备统计
    private WarningStatisticsData warningStatisticsData; //短信统计
    private List<WarningTypesDistributionData> warningTypesDistributionData;//预警类型统计
    private Weather weather;

    public HashMap<Integer, HashMap<String, DetectionData>> getDetectionData() {
        return detectionData;
    }

    public void setDetectionData(HashMap<Integer, HashMap<String, DetectionData>> detectionData) {
        this.detectionData = detectionData;
    }

    public EquipmentTypesDistribution getEquipmentTypesDistribution() {
        return equipmentTypesDistribution;
    }

    public void setEquipmentTypesDistribution(EquipmentTypesDistribution equipmentTypesDistribution) {
        this.equipmentTypesDistribution = equipmentTypesDistribution;
    }

    public WarningStatisticsData getWarningStatisticsData() {
        return warningStatisticsData;
    }

    public void setWarningStatisticsData(WarningStatisticsData warningStatisticsData) {
        this.warningStatisticsData = warningStatisticsData;
    }

    public List<WarningTypesDistributionData> getWarningTypesDistributionData() {
        return warningTypesDistributionData;
    }

    public void setWarningTypesDistributionData(List<WarningTypesDistributionData> warningTypesDistributionData) {
        this.warningTypesDistributionData = warningTypesDistributionData;
    }

    public Weather getWeather() {
        return weather;
    }

    public void setWeather(Weather weather) {
        this.weather = weather;
    }
}
